package com.lumlord.db.influx;

import java.util.ArrayList;
import java.util.List;

/**
 * influxDb row 回调 查询
 */
public abstract class RowCallbackHandler {

    public int count;

    private  ArrayList list ;

    public abstract void processRow( int rowIndex, List<Object> row, List<String> columns);


    /**
     * 计算 好长度会为list 扩容
     * @param list
     */
    public RowCallbackHandler(ArrayList list){
        this.list = list;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public ArrayList getList() {
        return list;
    }

    public void setList(ArrayList list) {
        this.list = list;
    }
}